import request from '@/utils/request'
import { GEN_SERVER } from '@/config/baseUrl'

// 查询车间或产线当月生产状态
export function listLineProduceStatus(data) {
  return request({
    url: GEN_SERVER['produce-server'] + '/handover/produceLineOffInfo/listLineProduceStatus',
    method: 'post',
    data: data
  })
}

// 修改车间或产线当月生产状态
export function changeLineProduceStatus(data) {
  return request({
    url: GEN_SERVER['produce-server'] + '/handover/produceLineOffInfo/changeLineProduceStatus',
    method: 'post',
    data: data
  })
}

//获取车间当日人员安排
export function getDaylyUserArrangement(data) {
  return request({
    url: GEN_SERVER['produce-server'] + '/data/workshop/getDaylyUserArrangement',
    method: 'post',
    data: data
  })
}

// 保存车间产线当日人员安排
export function saveDaylyUserArrangement(data) {
  return request({
    url: GEN_SERVER['produce-server'] + '/data/workshop/saveDaylyUserArrangement',
    method: 'post',
    data: data
  })
}




